package com.jluzh.web.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author EvanHuang
 * @date 10/28/2018 10:56 AM
 * @since
 */
@RestController
public class HelloWorldRestController {
    @GetMapping(value = "hello-world")
    public String helloWorld(@RequestParam(required = false) String message) {
        return "Hello World!" + message;
    }
}
